Automattic\WooCommerce\Admin\API\Reports\DataStore D

Total Complexity 217
Dependencies 6
Dependents 0
Total lines 1,342
Lines of code 710
Logical lines of code 430
Comment lines 492
Methods 56
Properties 11

Methods 56

Method Rating Maintainability Complexity Lines of code
update_intervals_sql_params()
B
34 20 94
get_attribute_subqueries()
B
39 17 58
get_status_subquery()
A
51 13 23
get_included_products_array()
A
53 11 22
interval_cmp()
A
56 11 18
add_time_period_sql_params()
A
49 10 30
get_refund_subquery()
S
52 7 23
fill_in_missing_intervals()
S
46 6 36
normalize_timezones()
S
58 7 14
get_excluded_products_array()
S
61 7 11
update_interval_boundary_dates()
S
51 6 25
remove_extra_records()
S
55 6 19
format_join_selections()
S
59 6 13
intervals_missing()
S
57 5 16
selected_columns()
S
59 5 15
cast_numbers()
S
59 4 15
get_customer_subquery()
S
61 4 12
get_match_operator()
S
62 4 12
get_limit_params()
S
61 4 12
get_products_by_cat_ids()
S
57 3 17
get_object_where_filter()
S
58 3 15
get_filtered_ids()
S
63 4 9
get_ids_table()
S
62 3 11
create_interval_subtotals()
S
56 2 19
add_intervals_sql_params()
S
64 3 9
expected_intervals_on_page()
S
63 3 10
set_db_table_name()
S
70 3 6
get_fields()
S
70 3 6
__construct()
S
63 2 12
add_order_by_sql_params()
S
64 2 10
normalize_order_by()
S
72 2 6
get_cached_data()
S
72 2 6
set_cached_data()
S
71 2 6
add_orderby_order_clause()
S
69 2 7
add_order_by_clause()
S
65 2 9
add_order_status_clause()
S
65 2 8
get_db_table_name()
S
74 2 4
get_excluded_orders()
S
79 1 3
should_use_cache()
S
78 1 3
get_cache_key()
S
66 1 10
sort_intervals()
S
79 1 3
get_excluded_users()
S
79 1 3
get_included_users()
S
79 1 3
get_excluded_coupons()
S
79 1 3
get_included_orders()
S
79 1 3
get_included_coupons()
S
79 1 3
get_included_categories()
S
79 1 3
get_excluded_products()
S
75 1 4
sort_array()
S
72 1 5
get_excluded_variations()
S
79 1 3
get_included_variations()
S
79 1 3
get_included_products()
S
75 1 4
get_excluded_report_order_statuses()
S
71 1 5
normalize_order_status()
S
75 1 4
get_limit_sql_params()
S
69 1 6
assign_report_columns()
S
98 1 1